﻿using System.Windows.Controls;
using System.Windows;
using Core.Infrastructure.Controls;

namespace Core
{
    [TemplatePart(Name = "MainRegion", Type = typeof(ContentControl))]
    public class ShellView : Control
    {
        public ContentControl MainRegion { get; private set; }

        public ShellView()
        {
        }

        public override void OnApplyTemplate()
        {
            MainRegion = base.GetTemplateChild("MainRegion") as ContentControl;
            base.OnApplyTemplate();
        }
    }
}
